'use strict';

module.exports = app => {
	const {INTEGER,STRING,TEXT}=app.Sequelize;

	const AdminRole=app.model.define('adminRole',{
		id:{type:INTEGER,primaryKey:true},
		name:{type:STRING(155)},
		description:{type:STRING(300)},
		rule:{type:TEXT},
		status:{type:INTEGER},
		create_time:{type:INTEGER},
		update_time:{type:INTEGER}});
	return AdminRole;
};